extends ../layout

block content
	style.
		body{background: #fff url("/static/images/1.jpg") no-repeat scroll 50% 0;}
	.container
		.center
			h1.text-center.reg_title 个人博客
			.login-box
				.login-header
					.login-title.pull-left 用户登录
					small.pull-right
						a(href="/") 返回首页
				form(name="loginform" id="loginform" action="/user/logined" method="post").formclass
					.modal-body
						.form-group
							label(for="signinName").col-md-12 用户名：
								input(type="text" name="user[username]" id="signinName" placeholder="用户名").form-control
						.form-group
							label(for="signinPassword").col-md-12 密码：
								input(type="password" name="user[password]" id="signinPassword" placeholder="密码").form-control
					.clearfix
					.modal-footer
						.pull-left.small 如果没有帐号点击
							a(href="/user/signup") 注册
						.pull-right
							button.btn.btn-success(type="submit") 登录
							button.btn.btn-default(type="reset" value="reset") 重置
block javascript
	script(src="/static/javascripts/define_fun.js")
	script(src="/static/javascripts/jqueryvalidate/jquery.validate.js")
	script(src="/static/javascripts/jqueryvalidate/additional-methods.js")
	script(src="/static/javascripts/jqueryvalidate/messages_zh.min.js")
	script(src="/static/javascripts/jqueryvalidate/jquery.form.js")
	script(src="/static/javascripts/define_fun.js")